docs: initial api docs.

related to #81.