Switch to cmake
Fleshing out cmake build system