* Refactored schema implementation
* Fixed cmake files
* fixed some small errors * added options.cmake