import mvc to brain.js