Updated specs, and added file for server logic

new iterations of protocol, and added a file for the server logic