rest api
Merge pull request #1 from zgolus/rest

rest api