small cmake changes. Currently not building.
A few changes to fix compilation.
Added CPP files in association with previous commit.