Reorganize the application into helpers, models, and routes