Initialize base class members of DynamicEntity through member initialization list. Added main and confirmed successful build