Renamed difficulty to wavedata
Setup base class for generating html