Server Implementation

rough draft of the server implementation, except for the SocketHandler stuff. It compiles, but I haven't tested it. what do you think? @mycal-tucker @peter828