Fix and add .gitignore and .class .project, to make sure project builds correctly