added rest service
Merge pull request #1 from Skablam/added-rest-service

added rest service