Conventional routing and middleware for koajs