Changed the way properties are handled and implemented a reset() method
in the market class