Use history based route not hash and clean up paths