Simple dependency injection and library loader.