small wrapper to connect to sqlite database