Updated API
Merge pull request #104 from surtich/master

Updated api.md