added API chapter
Merge pull request #9 from mdsouza/master

added API chapter