Right now, there is no way to work with modules, as the required modules are not translated. I think the solution is to translate the thengascript and write to a new destination, with mirrored directory structure of original code, so module imports with relative path can work.