Move EndTime and StartTime to lib directory

Thomas had mentioned he'd like this done.  I did it.  We can discuss its merits.