finished the initial draft of api documentation