Moved pretty much all messages and constants to separate classes.