Enhanced the debugging mechanism, implemented a console for the debugger and also applied some defaults to work with