Initial shell from previous exploration.
Refactor shared router module.