added a command manager, to keep track of commands and the client/player