Added Maven and new .gitignore

I've changed the project structure, to a maven valid one. The new pom.xml allows to run the project with maven. The updated .gitignore file ignores, operation and IDE files also.