add require function that allows load shared library between application