Implemeted the connect functionality
Implemented the disconnect functionality
Implemented the isConnected functionality