changed the structure of the main. stop using subprocess
add an example of particle swarm optimization from DEAP