Changed the sound interface to sound class and made the necessary changes. The new state requires much testing before it can be trusted.