Barista routing middleware for koajs