Add a utility library for useful functions: add C-style pseudo-enum type