Changed mainClass to CoreApp