refactoring refactoring refactoring refactoring
Very basic client and server functionality works!