added ability to directly insert keys into sqlite3