use xvect
change xvect API
split xvect module