adds base rails app