* updated depedencency injection prototype.