split functionality between bundler and bundlet