fixed NBT + made tool classes