Split init.js into 2 controller classes

transition into oojs