AnimatedEntity added. Separating the basic functionality of Entity and AnimatedEntity