cleaning up color detection, server still needs work
fixing an error in the python server