Delete old images, hamming distance for images, cleanup & start d3.
Hamming distance endpoints.
Move graph to partial.
Rake task to delete images, move callback to event.