Comments! Color detection*! And more**!

Only finished the main program, not the sub-tasks.
*: Not guaranteed to work.
**: May break somebody's workflow.