Backend generalization and gentle start on sql backend