[WIP] Code refactoring (Introduce new RoutesHelper)

I think we need logging in dev mode to keep in mind events order. What do you think about it?