Restructure cluster components
Restructure cluster components
Make database adapter use loggable