Refactored code
Added how to file
Edited how-to
Merge pull request #7 from venkateshragi/cas-support-cql

Refactored code and added how-to