Break up supporting functions into 3 seperate files to simplify for code maintainability.
Check tag exists specs