excellent refactoring of manager component db class setups