move contact factory to new package