Create new class for generating tables to replace old duplicate classes.