Added Java dependency and gitignore