support amd, direct blob loading, reduce number of files