refactor project structure for Maven
add /target to .gitignore
fix pom.xml