Created controllers and ActiveRecord models.