add api file
added documentation
housekeeping
update on api doc