cppbc: serious refactoring, array iterator class