renamed ModelImpl->model_impl and added some model method doc comments