factored a bunch of code into an MP3 class