Setup fixes for pure Python, delinting and token parsing for TDBs, some interface changes for Database.