Pulled message parsing and server management into separate classes.