adding base rails files