Rest API updated
Merge pull request #32 from Nipuni/master

Rest API updated