uid2grp: adding code infrastructure