Settining up server/client distinction.