Extracting DomLibLoader into a seperate project and adding callable function boudaries