init layout + models + controllers