added documentation to methods
added sami api doc generator
Merge pull request #2 from tonglil/documentation

Documentation