Add base pom.xml and base java class