Moved Build System to CMake