Refactoring the project to use the new tech stack and separate client and server code