Added RouteManager and History work

Added RouteManager and did some work on history (back and forward
buttons in browser)