Added possibility to log to syslog
Added peet
Restructured peet