added color sensor class