Moved client message handlers out into separate files.