add vector class