fixed static compile errors in eclipse
added .gitignore