Added bare structure.
Fixed compilation of library and tests.