added function that converts version uint to hash
added some primitives addon functions