Update .gitignore
Move terminal color code to a separate file and make it a bit more flexible