generate model and others
follow the tutorial to modify some files