Add sound and effect handling to library