initializes rails app