dictionary: move the tts::dictionary class out into a separate header file