Reset the module structure.
Add external library to require list.