added utility class for primitives. Also primitives are now compatible
in the getters for Event IO