Added test build file
Added parsing and some more CMake options

Tests system needs to be put in place