Created base class for entities. Refactored categories and languages with base class. Added hidden action field to forms.