Moved wave types to a wave class in wave_template.py