Make server an instance attribute