system: router dir renamed to factories
code style