split main.js into songs.js and playlists.js