Add API handler
Merge pull request #9 from theorchard/mo-14-nov-add-api-handler

Add API handler