added logger tool (work in progress)