refactored color functions and classes made WiflyControlColorClass an inline class WiflyColor