Made Wave more generic and made calls more generic.  Added wave logic to wave array builder.  Created a Constants page.