Add rails engine