split chat server & ui server into logical parts