get client working in refactored mode
added DEADBEEF support to debug class