Reformatted members of the Peer class

Also added some TODOs for missing functionality in the Peer class