add first working version of api docs generator