Add console functionality and a working assembler