Unused code removal in regex, ffeature and val code + encapsulation in ffeature and synth code + reduce length of daughter directives in ffeatures + change return value in play_wave.