Clean code in PtimulusCamera and register pictures to a dedicated directory