Added classes e configured pom.xml.