Added api documentation to readme