adds wiring configuration and resolver passing through context options

see #32, #35