Move rails to its own folder