Add rails structure