Mavenized example

I changed the existing `pom.xml` files and added an additional one for the example.
Not sure, why you added a `parent` node to the `root` file - but beware I am quite new to Maven.