CORE-4574: added IntelliJ Idea files to .gitignore
CORE-4574: removed some dead code