prepare release to maven central

Code cleanup, remove dead code, add metadata required by Maven Central to
project's pom.xml.