Refacotry code to make tts/dict plugins with same audio framework.