Extended loop quantum gravity