Header creation to a separate func in wavsy. Also changed to Wav_* func names to camel case to go along with the convetion.