refactoring common into vvmoss