add dynamic output of markets.  Created MVC for markets.