setting up rails application