md moved to model , routes fixd, search model added