extract functions needed for vial startup from vial.utils into vial.helpers