Fixes

Changed the way plugins are loaded.
Load plugins in correct order
Renamed settings to _setting
Better db settings handlers