remove tracker.hs and add functions to peer.hs