Added function for initializing the time class
Added default values for the time class.
Fixed time class for the socket classes