Setup CMake build system, added simple main entry points for client and server.