Refactored the debugger and added a memdump view