Setting up project structure with gradle files and idea intellij project files