A private site would use a passkey announce so you can track a users uploads and downloads.
The pirate bay just index's torrents and no longer runs any torrent trackers.
sites like
http://openbittorrent.com/ are trackers only with no front end.
I would suggest looking at our
http://www.bvlist.com/sourcecode/ section.
Regards
Phogo