Added console colors
Refactored shell tools
Added license header to all files