Turn the ExtensionReader into an injectable class

Signed-off-by: Yasser Aziza <yasser.aziza@googlemail.com>