moved parsing logic out of store and into new class InstructionsParser