Added market emulation class