When Brooklyn had its own railroad lines