changed constructor of gameElementFactory
changed waveActionFactory constructor