add market conttroller implemetation