Convert CodeLoader() to match ES6 Loader()
Extract getModulesRequired() in InternalLoader
wip