Logging support

Working on moving plmserver to a daemon
process. (or have the ability to daemonize)