This is working code

This rolls back to commit a787173f27de263fb7fcbe27286a01e09f034856. One
thing is not working yet, after adding a selfie the shutter does not
close