adding intellij files to .gitignore and cleaning up dependency scopes.