'Initialises an instance of the class.
:param module: Ansible module instance used to signal failures and run commands.
:type module: AnsibleModule'

def __init__(self, module):

    self.module = module
    self.dbus_session_bus_address = self._get_existing_dbus_session()
    if (self.dbus_session_bus_address is None):
        self.module.get_bin_path('dbus-run-session', required=True)
