moved RouterChain class out of router.hpp file into own router_chain.hpp class