Fixed Duke dependency in pom, so it resolves against central.
Simplified the code a bit by using Duke utility class.
Merge pull request #1 from larsga/master

Fixed Duke dependency in pom, so it resolves against central.