Change of formatting design
Clean up the formatting code and ILoggerFactory dependecy accessor