Updating operators code to instantiate serverconnector at right place.