Reimplemented vector class - pimpl, lazy initialization.
Also reimplemented bytearray (derived from vector).