Add main class selection in the settings of a project