refactored main class specification from mainClass to main-Class