add generate init function

add generate init function and add views controllers models assets path define
add generate init function