A minimalist type safe Swift dependency injector factory