quick code generate framework