Changed createObjVec to also accept an std::vector