just name changes, from HSV to 'feature'
added input arg 'mode' that can be 'repository' to have different style plottings