generate java class for main (#7)