added web api endpoints
Merge pull request #1 from hansent/master

added web api endpoints