Added logging
rsyslogd != rsysreqd
Added logging interface
Added main functionality