New c++ library

I'd really prefer a minimal example since it shows how others can use the library. It doesn't have t be a full example. Just something minimal perhaps like the fs.qml example.
We should also think of unit testing the library as possible.