separate modules for output formatter and logging
More cleanup to logging and output
Tidying up around LogProvider and OutputFormatter