start api documentation

some preliminary structure