refactored OutputManager a bit and updated ModuleApi