adding logger class for logging