Factored out the sound part to another class.