Refactor: Recapitalize messagedirector.{cpp,h}.