Refactor time, first initial working version with simple printout of syslog info