Initial commit using existing code in cmake build.