Adding LogParser class