Support handler directories as well
Also support factories returning a Promise<route>