Added api doc
Added installation instruction into the readme
fix example