implemented logger class - draft