First server sketch semi-working