All major server functionality is done except error handling