automatic route generation (add glob as dependency)

totally works. I ran it locally connected to mongo and everything.