[Refactoring] IFactory updated.

0. IFactory IUnitType becomes framework part