two bat files for generating source code which includes main method added