Added type for each instruction
Created Instruction class
Brought instruction building logic into Instruction#initialize