make validator command

add command to make validator
generate content of views: create, all, edit