Splitting up client/server