moved xml to json, added syslog support, managed all signals