Improvements at Logger.
Added MiningMail.h to hold commom utilities used in all application.