ClassGenerator working in source folders