Wiring up dependancy injection