Change directory structure, move to CMake build system