added ConfigParser and logging to syslog