MarketController Done

PLEASE tell me if there is any error and I will fix it, I think it may
actually be good now