Objective-c: Dependecy Injection Class