Update log class
Add tools class