Change to Intellj Community version
Removed unnecessary code and empty lines