dzil-ify
rewrite
drastically simplify internals

All operation and error handling is now in a single function.