extract Router out of Controller