added Time class to hold start and end times, more structured way than to handle...