UUID generator functional, now working on transactions class