data structure skeletons
peer uses Server object