add the charm generator

it can be used to create charm more conveniently