rename move-history to path-to-state, start using vector