Renaming loadSound function to receive a format (enum of MP3, Ogg, Wav) rather than a type (string).
Inserting some comments to explain play method.