New controller factory.