Add routes and pushstate support