Reworked MEF Holder with generics

And added config