Added exception checking
Changes implementing split of loco record from train record
Changes to databases caused by testing Rail program