set up rails app & controller