Creation of the Market class.
Change arguments to take a market file descriptor.