Introduce multithreading for db's updates for the profiles. Improve the "load" function of the daemon.