Components can get their configs via DI, closes #5

- thunk no longer exposed via DI