generate models and controllers