create market model file and model associations.