Added SQL framework