Last version before adding router function.
add route feature