renamed mongo to model, adjusted paths