fixed some code style and error
added some comments
added support for basic 3D sound
fixed the singleton to threadsafe pattern
json file for audio settings
added sounds to sample.json instead