adding logger class