Cleanup: remove code for multiple database backends

@icewind1991 @DeepDiver1975 @VicDeo @butonic