Update DB struct for plugin system
Initalize default logger when initalize DB
Refact logger