Got the project building.
Added some tests.