Major changes

Changed cache library.
Added some ItemDefinition opcodes.