added api section to readme