refactor newSong with jinja2