Fixed .gitignore and added missing dependencies.