model loading in boot.js