Added CMake build system
Adde missing files to the build system
Added basic repository infrastructure