Cleaned up pom.xml and factored out dependency versions.