Add config.ru to the project.
Add pry to the gemfile.
Fix routes on some views.
Don't render the layout if the client is asking json.
Add support for tasks and logger.