Refactored code to adopt using more C++ standard library functions.
This abstraction of common code segments to standard functions, is preferred for long-term code maintenance and testing.
I am happy to squash into a single commit, but I have not yet so the PR Git history is clear / understandable.
Feel free to squash+merge when you are ready to complete this PR.
Refactored code to adopt using more C++ standard library functions. This abstraction of common code segments to standard functions, is preferred for long-term code maintenance and testing.
Continues from Issue: #185