Add resolveParams parameter to IoC.Resolve (not implemented yet); some refactorings