code: def new_bundle(name, scriptmap, filemap=None):
  
      
  
      #logger.debug('new bundle %s' % name)
      if name in BUNDLEMAP:
          logger.warn('overwriting bundle %s' % name)
      BUNDLEMAP[name] = Bundle(scriptmap, filemap)
docs: Create a bundle and add to available bundles