Total Rewrite of the ColorCode System