General purpose C++ & polymorphic model definition -- future integration with EEF