adds base rails and config files