don't do unnecessary toJSON at tasks
remove useless task model
move router extension to separate file
drop views index file
fix arguments at route callback