[FOLD] Peer/Peers refactor2
[FOLD] Move function definitions into the class declaration