Add more opcodes, add basic IO handler