Use new file structure for cmake
Add cmake filest
Converted program to cmake