Setup the strucutre for the main controller (as singleton)