boilerplate
a very minimal working daemon