Code Review

Hi all,
I reset back to an early commit to compare this against your main branch. Do not approve this pull request.
It is merely to review your code.
Why assign it this way? Could you use mongo's _id, which will check to make sure it's unique?
The problems this could cause if a collision ever occurred...