Tools

This implements the `Tools` part for the cPlayerState class. I'd like to hear some opinions on this, because I'm not sure if I'm happy with it as it is right now.