move more things to zvshlib

preparation for tests, need to move more things to module