updated to use java 1.6
added .gitignore to ignore build and dist folders