Remove config/external module, refactor KafkaService a bit