Add pom.xml to work using maven.
change .gitignore