Setup the necessary associations for each action and view