Removed deprecated DB components. Debug mode will be re-integrated in
the future.