Add pom.xml and change package structure