Rudimentary readline-based debugger added

Seriously, not done yet