Adding API doc to the README.md