work on separating the pi controlling logic and the photo viewing capabilities
work on separating the pi controlling logic and the photo viewing capabilities