code enhancement and fixed #43 (split function into smaller functions)
code enhancement and fixed #43 (split function into smaller functions)

dejacode/about-code-tool,dejacode/about-code-tool,vinodpanicker/about-code-tool,vinodpanicker/about-code-tool