added some docs to apigen main