Lightweight isomorphic router