use strict for all files, move models to resources folder