separate models from app.rb