removes definitions table and class, adds definitions to word table