Added a global playr object, and a main.js for loading all libraries