Setting up of controllers