vector class with simple constructor