DEV: Add Base Class for market definition in c++ lib