updated pom for the central registration and refactored little