broke out the api doc from the main readme