Adding comment header and program comments. Some code cleaning
Merge branch 'next' of https://github.com/manuIO/weio into next