Fixed POM to use right parent and versions
Fixed a couple of bugs and removed a class that was moved into another library.