modify main layout and refactor the Music Player