Added model spec in router for todo view.