vsl: move target registration logic to vsl.c
vsl: reg.c isn't needed anymore