refactored package and added Kafka Producer