Added simple unit test and basic CMakeLists structure.