add history and router
add routes