exam: Save stats in random file Stats directory
exam, db: a big refactoring

new class Exam and many minor changes to simplify exam module
exam: Add logging from process db error
exam: mv findWords to processWords function
exam: mv class Exam into separate lib _exam_lib
util: add new module util

For different tools