adding revision history to model. adding routing