Adding logging class