serialization and merge with qian changes to delet contacts
reset libraries