Fixed the class reference issue and updated pom.