Added CMakeLists.txt for easier building
First test version; stable but not working properly