[REFACTORISATION] Controller + Model + ajax.js