Framework for distributed evolutionary algorithms