Revert "add router module"

This reverts commit c459559d46467e8371bd79a92b2966d0ce6ef69f.
Revert "Revert "add router module""

This reverts commit 329146a984a06ed58d6c46c9d1c3d25b858569c3.