Major changes to sketch.ino - now uses all the appropriate classes.