Restructure client
Change Choice logic. Remove buffer from client (never used).
Add support for sqlite3, together with some init code and tools.