Added a public field to allow the ClassLoader to be set.
Made it possible to change the class through which resources are loaded.