added module methods to make connection and disconnect