configuration, peerproces, and other general code added to start with