Added Arduino class and looping for photos