Add documentation for the module API

Fix API docs
Update API.md
Update API.md
Update API.md