Players manage their own past states in server

On the server side each player now keeps track of their own past states
rather than having a separate container for each player's past state.
Before, the past states and the player were in separate containers, now
the two are in a single class residing in a single container .
Continuation of previous Commit

save as the last commit, except the last commit didn't commit all
changes so this will properly apply all changes