Add initial router function