Refactored the project layout for IDEA
Fixed .gitignore to not contain IDEA's local settings