Basic client side routing using dynamic templates