Added back sqlite support, and cli now works again (except reports).