Implemented CMake plugin and refactored project_build