Moved wrapper to tools.
Extracted modules to loading modules.