Added router initialization