Move gitignore to root directory and add IntelliJ IDEA settings