lib/config.js :: ensure last.end is a number
lib/insert.js :: wrap all insert logic into one place
cmd/end.js :: use insert module
cmd/begin.js :: use insert module & `end` any opened previous records
README.md :: during `begin`, call `end` when last record is "open"