Code clean up. Implemented seek, pause, replay for the player.