Add the ccphoto code

Like #2 this still requires some tweaks to get working in this dev environment but the majority of the code
is ready for review.