make sqlite optional

In some environments we may not have sqlite installed and we may want to use only redis backend