Re-discovering databases from first principles.

Feels insane to not do this.