Add simple routing middleware class