Implemented all instructions with barebones framework