add the cmakefiles and main.cpp
Merge https://github.com/calabashdad/TranServer