Refactor of BundlerFactory to use ES6 features and to not be class based as that was a hinderance for the use case.