separated Routes module : using them as middleware