add config class and some changes in color setters