finished sql gen
Added model list