parse instruction and pass instructionObject to the ReferenceMonitor. Not too sure if I like the way I did this but we can refactor later if we need too