Added advanced logging functionality for running the binary on boot. Will log to /var/log/moo. It will create that directory if it doesnt exist. For every run the file permissions are adjusted 0644 via a syscall to chmod.