add *.iml to gitignore
change project maven settings