cleaned code
Merge pull request #19 from siddharthg/crmSQL

Cleaned code