Refactor project to hold client and server code.