created CF_UID class and fixed initialization method