[#8] Reworked message handler and added python example