add example api providing definition.
Change cong
refactoring the generator