Setup mainDrive and controller input for main drive function