A Genetic Algorithms Framework