Libinjection support

Adding support for libinjection. Sending this in as pull request so we have some more eyes looking at it.