'Creates a new instance'

def __init__(self, name, admin=None, admin_password=None, user=None, password=None, host=None):

    self.name = name
    self.admin = admin
    if (admin_password is None):
        self.admin_password = ''
    else:
        self.admin_password = admin_password
    if (user is not None):
        self.user = user
    else:
        self.user = self.admin
    if (password is not None):
        self.password = password
    else:
        self.password = admin_password
    self.host = host
