added controller and router