Created time classes for intervals and instances of time; Relevant junit tests are included