Vector class