Fixat lite
Added support for going daemon. Added syslog functionality