Improved naming to differentiate between script and style APIs
Structured, documented and refactored OutputManager
More refactoring. This time internal only