Adding basic model files.
Corrected spelling error in sql.