Ari improvements in abstraction, naming, and benchmarks.

It surprises me how slow Ari encoding turns out at this point (less than 1Mb/s). Need to investigate further, there is nothing heavy we are doing yet.