moved railtie to it's own file