Added Core pluginLoader() function

Replaces construct function on plugins