Move the find-controller logic to a separate guts file.