Fixed Issue with numberOnBoard and numberOfSeats and respectively
updated the train statistics code to match to corrected code.

general code cleanup from depreciated code