implement registry injection

As the library changed its behavior from injecting managers to injection registries, i needed to do it in here too.