fix formatting using Eclipse auto settings
add mrunit dependency for testing to pom file
a bit more code cleanup