seperate library into root / global