Added structuremap helper, fixed bug in autofac helper