Refactors image processing framework.
Refactor.
Renames array::operator<< to array::append.
Passes refs by value.