I added routing middleware together with unit tests.