setup rails engine