added structuremap config and fixed repository