Add classes Market, resourceMarket

Addresses #6