working uuid  implementation

major change is to store uuid as a int value instead of an array of chars.