add classes and pom.xml