Merge pull request #10 from varjoranta/master

fix database interface issue on batch insert return type
separate view objects for REST API from core objects

* add improved status reporting for the endpoints