Purity Framework now a seperate library
added engine/CMakeLists
Merge branch 'refactor'