Added abstract database support for sqlite, not tested