Cleanup DB class