Refactored util package, and also finished media playback services.