configured to use rails models and controllers