Add an instance of Cannon to main.