DB Review

Doing a full code review on the project; I reset master to the initial commit so I could PR this against it. This will be merged w/o changes once the review is complete.
This is a bit clearer; we didn't pass a clientId. but we still don't really define what a valid clientId is.