Using TimeDisplay class

TimeDisplay class is now used to implement stuff.