Adding class to pom