Committing changes related to sniffing the code

Have made all the changes those are related to code sniffing. Please have a look at it and let me know whether the changes are right and can be made permanent. Going to make changes in other files as well in which there is already a single quote provided for function parameters as values to them.