Erased Resource Loader, added factory functions as static members of the resources classes instead