fixes namespace issues. Allows for simultaneous multiple libraries