Better layout in example
Use intProperties instead of counters
indent of some pom.xml
Added a few useful classes (some should be replaced by java classes)