initial commit

TODO:
* db generator
* refactor DB layout because there's no point in keeping the key values
  if I'm oversampling anyway; they *may* be useful if I need to interpolate
  stuff
* test this pickle's performance; if execution time is <1ms for 10k
  inputs, then I'm happy