Added instantiation of router