log class behaviour defined and results.txt is now properly ignored