Add rails srtucture