Converted LoggerComponent to spaces
Refactored TemplateComponent