Set up rails

Initial set up of rails