Renamed ServiceContainer namespace to Di namespace
Moved dependency resolving into resolver class.