Converted application to a rails app