Add basic implementation for persistent vector