Started adding some api documentation