add sqlite; add interactive modes to cli