added color factory class