Added index.js to spwan child processes