+ fixed errors in SQL scripts
+ changed 'models' package to 'model'