Add license.
Comment Write module.
Clean write function.
Reorganise write function into several functions.
Do not use the two voices if one is empty.
Let a specific function handle indentation.
Limit line length of Lilypond file.