Updated main.ino to use new Control class.