moved routing after modules load