PHP compatibility/ code portability - move class instantiations

* Move "new" constructor statements into "JuxtaLearn_Hub" class
* Modified the "JUXTALEARN_HUB_URL" define