refactor some liquidsoap code + remove unused --data argument