Added .idea to gitignore
Optimisations