CE-108 Move ImageReview classification logic away from Perl script

DO NOT MERGE

See also: