Started working on the cmake build system.