Converted Train and Time to case classes with companion objects
Added some ScalaTest tests for the Time class