clean API
add doc for main API
add jsdoc grunt task
generate doc
add index page