Added Debug class with dump method