Rename main method and update gitignore for intellij