split up server and client code