added cli option to set a custom main class for windows batch