Remove redundant code and refactor functions such that they are easy to manage in future. Refer the Code Climate report for issues: https://codeclimate.com/github/elixir-cloud-aai/tes-compliance-suite