Make naming convention of function names consistent.

Using camel case instead of underscores for function names.
Make sure UUID is really unique.