Perl class for image keyboard creating.