Added support for clustering.

Now workers will spawn equal to the number of CPUs, to provide better
performance.