Setting up controller/layout logic