generate service and basic doc