Added cmake files to build directory

Using cmake to compile binaries, using 1.6 standards
and added a clear script to remove all cmake files
for a clean build.