setting up the rails app