ring class and functions, not included yet
removed LocalPeer class - part 1
removed LocalPeerClass - part 2