Added multicore support with cluster