Gave input data functionality to market.cpp
"giving market functionality"