Building an intelligent MQTT broker. Using the same MQTT algorithm or creating a new one. The messages arriving at the broker should be processed based on rules engine before getting published. The rules can be changed through web interface. Another feature required for this project is to keep the records of messages arrive and voting among the sensors should take place.