Remove the main method in Peer model