Created a class for logging actions