vector class