added links to templates for different routes.
Defined those routes in router.js
wired clear completed to new controller methods.