adding a class to manage sqliteconnection