Added HSV

Also some preparations