added support for Sqlite, and generalized the framework for any JDBC provider