Added REST API. (#7)
Merge pull request #8 from tiriplicamihai/f/#7-rest-api-branch

Added REST API. (#7)