Add requirejs config
Wrote models