Refactored code, create executables for client and server