WIP refactor routing loader to be more flexible and maintenable

Tried to move 2.2 specific stuff in its onw class. Still needs to implements 2.1 & 2.0 (?)