Initiall implementaiton of VectorFactory and to