move vector URL source to be a simple template and some minor cleanup