Use new mainClass
property instead of main
#428
Merged
mainClass
property instead of main
#428