Add a complete hello-world example

I struggled a bit with your example, so here's a complete one that should run out of the box.