Added document for Model object
Removed redundant code
Added document for Action object
Added document for datasource object