Replaced with tha copy

Replace the library with a static one instance.