Some minor refactoring of constants.

Moved message types, languages, and game constants to their respective
classes.