moved module mapping outside  through.obj

I noticed that the plugin is not working when the input stream pushes more than one file, the problem was that the code that transform module names in actual modules was called more than once. I moved it outside the callback function.
hope is ok.