Optimize much more.
Fixed gitignore for InteliJ