split client/server