fixed up ResourceFactory creators

Made it Static