Move handlers to a dir. Update routes with function names.