fixed coverity issues

* refactored StructureServices
* removed unused attribute
* added travis and README to project