added corpus generation class