Initial checkin for models.js

Initial checkin for models.js