Preprint: Algebraic theory of vector-valued integration