added API doc generation