Factor out exec_tools.h, constify
Factor out cf_sql.h
Factor out net.h