'Creates a node and adds in the typical annotations'

def __init__(self, nodeName, **kwargs):

    (self.name, self.id) = (nodeName, kwargs.get('id', 0))
    self.depth = kwargs.get('depth', 0)
    self.children = []
    self.isInternal = kwargs.get('isInternal', 0)
    (self.length, self.bootstrap) = (kwargs.get('length', 0), kwargs.get('bootstrap', None))
    self.events = kwargs.get('events', '')
    if (self.bootstrap == (-1)):
        self.bootstrap = None
