adding wrapper script for daemonizing the main server loop