Added getConfig function using promise
Changes the structure to Queue class
Initialized class in window.Play variable

Aim is to create a single global variable Play to handle all jobs.
Next: Refactor main.js