Envoyer par SMS: Neighborhood production structures with applications to the theory of international trade