Change interface and implementation of Table.

1. Make getSets() const.
2. Add setRemoveConst().
Add forward declarations.
Add Player
Add agent.