Cmake

Cmake branch with memory leaks fixed + additional minor changes (ran fine on BGQ and viz nodes)