Abstract classes for managing entities