reorder routing module into logical sections