changed structure to include Railtie