Implemented CMake plugin

Fixes #14
Refactored project_build

Fixes #28