class for changing color. combined files into one.