Add pom.xml and java files