Finished the basic functionality of the media player