Factorize view and model.