rename WAVEFUNC class to CWaveBase; add interface
tiny bit of rework on gbmaker