Starting the connection class.