Add basic read and write commands for the flash memory.