Bogie frames with bolster and piping for locomotives and multiple unit trains