Decoupled TranscodeManager and FileProcessor from CLI.
Changed logging to log messages in JSON.
Various other refactoring efforts.