Variable number of classes enabled

Added classes for image and image class.
Class loading now based on directory structure - directory names as class
names.
Up to six classes can be used (six colors in plot - can be changed if
necessary).