Created a new Wave.java class