Refactoring of REST interface
Merge pull request #72 from slaskawi/REST_refactoring

Refactoring of REST interface