refactor: expose the config in the service

<https://github.com/lyoooooooo/Toprak/pull/102>