added Vector class and unittests