[task] added logger, cleanup and adjusted photo creation