Added ServerConnector class with singleton pattern.