Added “Slog” logging class.
Code refactoring and improvements.