Move sound internals into engine/sound.py