Made index.js has Worker and Master references.