Wave system rework

Notice that i  added "duration" to WavePool