remove unused code
move the impl of Vector::create outside of the class