split debugger across multiple files, added example debugging scripts