implement route and model of todos