Adopt soundmanager class to manage sound right