Implemented module scoped library loading