Changed IEntity to BaseEntity as an abstract class and added Animal class.