Optimized wave generator, cleaned many classes up, and solidified the Path-producing process