Controller setup