Add source file and CMakeLists.txt for project