[core] Make contact_factory to use ContactCreation class