MOD: remove database handling from Contacts class