Tied together IO and Op-code

Next steps: writing op-code to buffer