BROKEN BUILD
Huge modification: in order to fix synchro issues this modificaction
splits inmemory to local database synchro and local to central synchro.