Update the class Connector. Some new methods and some functionality