added constants.
cleanup of singleton pattern.
Merge branch 'master' of git@github.com:ajeetmurty/ReferenceCode.git