Rails-ify the application