Added some features

1. Commented some of the code
2. Make string search do AND operation by default instead of OR.
3. Make string search ignore case.