printing function to printing lib

all changeable code moved to standalone libs; when this script run on boot it is useful minimum code modifications to it; to employ modifications to this script system must go reboot; some times reboot is not good idea