splitted into daemon + libqron (part ii)