initialize the rails app