How long have railroads been important since in Montana