Refactor Verification class
Refactor Server class
catch DBException instead of typo
Refactor Log class
Refactor Cache class
Refactor ClientSession class