Added debug hash and singleton logger classes.