updated API documentation.
bump version number to 0.3.1
Merge pull request #5 from jasonbellamy/documentation

Updated API documentation