Thread

Added multi-threading for the audio stuff