- implemented library injection
- added library injection to preCache