time server
move date format to constructor
improved debug messages