Implement basic functionality with generic SQL backend