bugfixes, initial sv_xxx classes