Added the replace_color_codes function to color_codes.py. Started using it to replace color codes instead of doing it in packets.py.