Updated gitignore, compile for Java 1.6