ignore IDEA files
added IDEA project file
cleaned up POM and fixed id-bug