(md:71536 refactor -) Separates helper functions into their own module