Updates comments and adds debug class