added composer
ignoring vendor directory
removed double cleanup
inserting generated images to document