Move services into module to allow easy stubs in tests.

- Rename loaderio to loader
- Add config service