Refactored logger component, added console logger and composite logger