New CMake compiles now to a dynamic library and enables submodules (unittests and 2D Visualizer currently)