break sexconvert and a few other simple routines out into a separate file to remove dependencies