Add CMakeLists.txt for the whole project. move proto dir to the root source dir to share the proto files.