Refactoring
extracted the audio and timing functionality in one library