Added Debug object, which should be used in place of sysout for debugging.