refactoring towards SQLite support by default, with MySQL as a side-preference