Add grep color
Refactor, and add some stuff about history