add the library proper

adding everything there will be in this repo: db_txn.py, which is a simple, hassle free db accessing layer over python dbi. Generators yield SQLs and results into the library function, which executes the SQLs and returns the results.