added documentation to methods
added sami api doc generator