Improve closing connection to KB
Complete metadata in setup.py
Initial work to allow for embedded KB (ie, not remote connection)

Does not work yet: SQLite objects created in a thread can only be used in that same thread.