adding a simple class for logging