generate root services and api groups
api method base common code