Separating Demo from Deployable
Moving the main js files to the root

Also tidied up the example file