moved config to different file
created binary for logging stdin
cleaner UID/GID lookup