coeditors refactoring, separate client and server to independent classes