Made ResourceLoader an instantiable object, rather than a static one, making it more...