add generate folder and controller and resource