Added most of the functionality for sounds and music. Not sure of elapsedTime method that I'm using..