FIX fixed db shutdown
FEATURE added sub-interface for cloning