Added Time class

Added Time class