Separated server-client almost finished