api docs added

WIP