Adds random as an export and refactors a lot of code.
Removes uuid module as it is not needed.
Updates README.md