added commandline parsing/daemonizing wrapper
really minimalized example